<?php  get_header(); ?>
<script type="text/javascript" src="<?php  bloginfo('template_url'); ?>/js/base.special.js"></script>

<div id="zt_c_sp" class="large left">
  <div class="z-l">
  <?php	while ( have_posts() ) : the_post(); ?>
  <script language="javascript">
    var curtab = "ad";
    var curorder = "";
    var spid = "<?php echo $post->ID;?>";
    var isbangumi = "0";
    var spCount = "0";
    var bgmCount = "0";
    var isSpAtt = "0";
    var isSpFav = "0";

    $(function() {
        bindSpElement();
        if (isbangumi != "0") loadBgmPage(1, undefined);
        if ($("#sp_video_container").length > 0) loadSpecialPage(1);
        $("#sp_tag").click();
        $(".tag > i > a").click(delTag);
        bindBangumiElement($("#season_selector li"));

    });
</script>
    <div class="zt-i"> <?php the_post_thumbnail(); ?>
      <h1><?php the_title(); ?> </h1>
      <?php $postcollect = get_post_meta($post->ID,'_postcollect',true);
	  	$views = get_post_meta($post->ID,'views',true);
		$sp_alias = get_post_meta($post->ID, 'sp_alias', true);
	  ?>
      <div class="info">
        <p class="ai">点击:<i><?php echo $views?$views:0;?></i>收藏:<i><?php echo $postcollect?$postcollect:0; ?></i></p>
        <p class="tag"><b>同义词:</b><i><?php echo $sp_alias;?></i> </p>
        <p id="info-desc" class="txt"><span style="cursor:pointer" onclick="$(this).parent().css('height','auto');$(this).hide();" class="autoheight ui-icon ui-icon-triangle-1-s"></span><?php echo  $post->post_excerpt; ?></p>
      </div>
      <div class="ztlink"><a href="<?php the_permalink(); ?>"><?php the_permalink(); ?></a></div>
      <div class="mr"><a onclick="favouriteSp(this,spid)" class="s">收藏</a></div>
    </div>
   <?php endwhile;  ?>
  </div>
  <style type="text/css">
	#tag_video_container .loading, #bgm_video_container .loading, #zt_c_bbs .loading {
		background-color: #EEEEEE;
		height: 100%;
		opacity: 0.5;
		position: absolute;
		width: 100%;
		z-index: 1000;
	}
	#tag_video_container, #bgm_video_container, #zt_c_bbs {
		position: relative;
	}
	.adminbox {
		display: none;
	}
  </style>
  <div class="z-l">
  <div class="hd">
    <div class="hdt">相关视频</div>
    <ul class="swc">
      <li id="sp_ad" class="">管理者添加的</li>
      <li id="sp_tag" class="on">视频中有TAG的</li>
    </ul>
  </div>
  <div class="hd2">
    <div class="left">
      <div id="sp_order" class="rt"><a id="sp_order_hot" href="#" class="ckc">视频热度排序</a> <a id="sp_order_new" href="#" class="ckc">投稿时间排序</a></div>
    </div>
    <div id="zt_add" class="right" style="display:none;">
      <input type="text" onkeydown="if (event.keyCode==13) addVideo(this,'ad',$('#sp_avid').val(),$('#sp_recd').val()); else if (event.keyCode==27){ this.value=''; this.blur(); }" id="sp_avid" onfocus="new MessageBox('focus').show(this,'所要添加视频的AV号 (纯数字)',0,'msg');" value="" class="tb" name="avid">
      <a onclick="var self=this; return function(){ addVideo(self,'ad',$('#sp_avid').val(),$('#sp_recd').val()); $('#sp_recd').val(parseInt($('#sp_recd').val())+1); return false; }();" href="#" class="addbtn">添加视频</a> </div>
  </div>
  <div id="tag_video_container" class="vidbox zt">
    <div class="no_more">没有更多信息</div>
    <div style="display:none;"> </div>
  </div>
</div>
  <div class="z-l">
    <div class="hd">
      <div class="hdt"><a href="#">相关专题</a></div>
    </div>
    <div id="sp_video_container" class="recc">
      <ul class="recs">
        <li><a target="_blank" href="/sp/%E5%A4%A9%E7%84%B6%E5%91%86"><img title="天然呆" src="http://i1.hdslb.com/sp/67/6709a60599be45fcb9b4ad209ce3a77c_m.jpg">
          <div class="title">天然呆</div>
          </a>
          <div class="as">46人关注</div>
          <div class="nu on">Video:0</div>
        </li>
        <li><a target="_blank" href="/sp/%E7%A7%8B%E5%B1%B1%E6%BE%AA"><img title="秋山澪" src="http://i2.hdslb.com/sp/53/53347b0d15edbf665faedf9a675b720c_m.jpg">
          <div class="title">秋山澪</div>
          </a>
          <div class="as">90人关注</div>
          <div class="nu on">Video:10</div>
        </li>
        <li><a target="_blank" href="/sp/%E4%B8%AD%E9%87%8E%E6%A2%93"><img title="中野梓" src="http://i1.hdslb.com/sp/b4/b4ed4ae3b21365812eb94307f2f04177_m.jpg">
          <div class="title">中野梓</div>
          </a>
          <div class="as">90人关注</div>
          <div class="nu on">Video:28</div>
        </li>
        <li><a target="_blank" href="/sp/HTT"><img title="HTT" src="http://i0.hdslb.com/sp/14/145f394eca1f23a9fb39a85478766e99_m.jpg">
          <div class="title">HTT</div>
          </a>
          <div class="as">114人关注</div>
          <div class="nu on">Video:135</div>
        </li>
        <li><a target="_blank" href="/sp/%E4%B8%B0%E5%B4%8E%E7%88%B1%E7%94%9F"><img title="丰崎爱生" src="http://i2.hdslb.com/sp/ce/ce5fdd678fe3d35a9a19b61277d2538f_m.jpg">
          <div class="title">丰崎爱生</div>
          </a>
          <div class="as">223人关注</div>
          <div class="nu on">Video:58</div>
        </li>
        <li><a target="_blank" href="/sp/%E8%BD%BB%E9%9F%B3%E5%B0%91%E5%A5%B3"><img title="轻音少女" src="http://i2.hdslb.com/sp/d2/d27a4424e54e14754e597f0b10ec3760_m.jpg">
          <div class="title">轻音少女</div>
          </a>
          <div class="as">472人关注</div>
          <div class="nu on">Video:60</div>
        </li>
      </ul>
    </div>
  </div>
</div>

<div class="small right">
  <div style="display:none;" id="app_admin_none">
    <div class="app_admin">
      <h3>申请共同管理</h3>
      <form id="sprequest_form" method="post" action="/spadmin?spid=492&amp;action=request">
        <ul>
          <li><span class="t">申请理由</span>
            <textarea name="reatext"></textarea>
          </li>
          <li class="t-align-r"><a onclick="$('#sprequest_form').submit();" class="button" id="add_spadmin_ok">确定</a></li>
        </ul>
      </form>
    </div>
  </div>
  <div class="z-r">
    <div class="hd">
      <div class="hdt">主管理信息</div>
      <div class="rt"><a id="add_admin_btn" href="#">申请共同管理</a></div>
    </div>
    <div class="center">
      <div class="zt-a"> <img src="http://i0.hdslb.com/user/2589/258947/myface.gif">
        <div class="info">
          <div class="name"><a href="http://space.bilibili.tv/258947">时间之仙</a></div>
          <p>神说 超炮2要出了</p>
        </div>
      </div>
      <div class="br">管理者信息</div>
      <ul class="ruplist">
        <li><a card="Lendll" href="http://space.bilibili.tv/150134"><img src="http://i1.hdslb.com/user/1501/150134/myface_s.jpg">
          <div class="name">Lendll</div>
          </a>
          <div class="info">添加了 <i>4</i> 个视频</div>
        </li>
        <li><a card="Hirasawa Yui" href="http://space.bilibili.tv/175647"><img src="http://i1.hdslb.com/user/1756/175647/myface.jpg">
          <div class="name">Hirasawa Yui</div>
          </a>
          <div class="info">添加了 <i>23</i> 个视频</div>
        </li>
        <li><a card="时间之仙" href="http://space.bilibili.tv/258947"><img src="http://i0.hdslb.com/user/2589/258947/myface_s.gif">
          <div class="name">时间之仙</div>
          </a>
          <div class="info">添加了 <i>19</i> 个视频</div>
        </li>
        <li><a card="梦幻的樱花精灵" href="http://space.bilibili.tv/373609"><img src="http://i1.hdslb.com/user/3736/373609/myface_s.jpg">
          <div class="name">梦幻的樱花精灵</div>
          </a>
          <div class="info">添加了 <i>1</i> 个视频</div>
        </li>
      </ul>
      <div class="more"><span>副管理者可进行视频的添加删除操作</span></div>
    </div>
  </div>
  <div class="z-r">
    <div class="hd">
      <div class="hdt">创建者其他专题</div>
    </div>
    <div class="center">
      <ul class="ruplist zt">
        <li><a href="/sp/轻音少女"><img title="轻音少女" src="http://i0.hdslb.com/sp/d2/d27a4424e54e14754e597f0b10ec3760.jpg">
          <div class="name">轻音少女</div>
          </a>
          <p class="i"><b>60</b>个视频</p>
          <div class="info">同义词:<i>轻音</i>,<i>けいおん！</i>,<i>K-ON！</i>,<i>K-ON</i></div>
        </li>
        <li><a href="/sp/御坂美琴"><img title="御坂美琴" src="http://i1.hdslb.com/sp/b6/b61c24cef6648bdc4b9aa993f5946c65.jpg">
          <div class="name">御坂美琴</div>
          </a>
          <p class="i"><b>62</b>个视频</p>
          <div class="info">同义词:<i>みさか みこと</i>,<i>MISAKA MIKOTO</i>,<i>炮姐</i>,<i>电击公主</i></div>
        </li>
        <li><a href="/sp/最炫民族风"><img title="最炫民族风" src="http://i0.hdslb.com/sp/8c/8c47a678362edaf3538cfa92105d74f6.jpg">
          <div class="name">最炫民族风</div>
          </a>
          <p class="i"><b>4</b>个视频</p>
          <div class="info">同义词:<i>最炫名族疯</i></div>
        </li>
        <li><a href="/sp/动漫"><img title="动漫" src="http://i1.hdslb.com/sp/96/96fd9117ae3960c27db3009a2cd08e5f.jpg">
          <div class="name">动漫</div>
          </a>
          <p class="i"><b>3</b>个视频</p>
          <div class="info">同义词:<i>动画</i>,<i>漫画</i></div>
        </li>
        <li><a href="/sp/红蓝"><img title="红蓝" src="http://i0.hdslb.com/sp/df/dfc8bc6e53dfc0238d90b625c6661967.jpg">
          <div class="name">红蓝</div>
          </a>
          <p class="i"><b>7</b>个视频</p>
          <div class="info">同义词:<i>CP</i></div>
        </li>
      </ul>
      <div class="more"><span>每位用户都可创建专题</span></div>
    </div>
  </div>
  <div class="z-r">
    <div class="hd">
      <div class="hdt">友情专题</div>
    </div>
    <div class="center">
      <ul class="ruplist zt">
        <li><a href="/sp/丰崎爱生"><img title="丰崎爱生" src="http://i0.hdslb.com/sp/ce/ce5fdd678fe3d35a9a19b61277d2538f.jpg">
          <div class="name">丰崎爱生</div>
          </a>
          <p class="i"><b>58</b>个视频</p>
          <div class="info">同义词:<i>豊崎爱生</i>,<i>とよさき あき</i>,<i>爱生</i>,<i>TOYOSAKI AKI</i></div>
        </li>
        <li><a href="/sp/轻音少女"><img title="轻音少女" src="http://i0.hdslb.com/sp/d2/d27a4424e54e14754e597f0b10ec3760.jpg">
          <div class="name">轻音少女</div>
          </a>
          <p class="i"><b>60</b>个视频</p>
          <div class="info">同义词:<i>轻音</i>,<i>けいおん！</i>,<i>K-ON！</i>,<i>K-ON</i></div>
        </li>
        <li><a href="/sp/御坂美琴"><img title="御坂美琴" src="http://i1.hdslb.com/sp/b6/b61c24cef6648bdc4b9aa993f5946c65.jpg">
          <div class="name">御坂美琴</div>
          </a>
          <p class="i"><b>62</b>个视频</p>
          <div class="info">同义词:<i>みさか みこと</i>,<i>MISAKA MIKOTO</i>,<i>炮姐</i>,<i>电击公主</i></div>
        </li>
        <li><a href="/sp/红蓝"><img title="红蓝" src="http://i0.hdslb.com/sp/df/dfc8bc6e53dfc0238d90b625c6661967.jpg">
          <div class="name">红蓝</div>
          </a>
          <p class="i"><b>7</b>个视频</p>
          <div class="info">同义词:<i>CP</i></div>
        </li>
      </ul>
      <div class="more"><span>推荐的其他专题</span></div>
    </div>
  </div>
</div>
<div style="clear:both;"></div>
<?php  get_footer(); ?> 